package org.dakuai.samples.api;

import org.dakuai.samples.api.dto.User;

import java.util.List;

/***
 *
 */
public interface UserService {
    public User get(Long id);

    public long update(User user);

    public long remove(Long id);

    public List<User> find();

    public long create(User user);

}
